package com.qf.entity;

import java.util.Arrays;
import java.util.Date;

public class TaxReturn extends TotalSales{
    /*附件*/
    private String attachment;
    /*税率*/
    private double taxRate;
    /*税费*/
    private int taxDue;
    /*审核状态*/
    private String status;

    public TaxReturn(){}



    public TaxReturn(int productId, String username, String password, String productName, double productPrice, String customerName, String customerType, int salesNum, int salesTotal, String storeName, String salesName, String salesState, Date salesTime, String attachment, double taxRate, int taxDue, String status) {
        super(productId, username, password, productName, productPrice, customerName, customerType, salesNum, salesTotal, storeName, salesName, salesState, salesTime);
        this.attachment = attachment;
        this.taxRate = taxRate;
        this.taxDue = taxDue;
        this.status = status;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public double getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(double taxRate) {
        this.taxRate = taxRate;
    }

    public int getTaxDue() {
        return taxDue;
    }

    public void setTaxDue(int taxDue) {
        this.taxDue = taxDue;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "TaxReturn{" +
                "attachment='" + attachment + '\'' +
                ", taxRate=" + taxRate +
                ", taxDue=" + taxDue +
                ", status='" + status + '\'' +
                "} " + super.toString();
    }
}
